﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FaceRecognition.Models;

namespace FaceRecognition.View
{
    public partial class Form_AddAccount : Form
    {
        public Form_AddAccount()
        {
            InitializeComponent();
        }
        
        Controller.Accounts_manager AM = new Controller.Accounts_manager();
        User_Manager UM = new User_Manager();
        
        private void button1_Click(object sender, EventArgs e)
        {
            string username = textBox1.Text;
            string password = textBox2.Text;
            string url = textBox3.Text;
            AM.add_account(Singleton.Get_ID(), url, username, password);
        }
    }
}
